<%@ page language="java" %>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page pageEncoding="utf-8"%>

<jsp:directive.include file="/WEB-INF/views/common/include/taglibs.jsp"/>

<html>
<head>
<title>Login</title>
<script type="text/javascript">
$(function() {
	$('#login-submit-btn').click(function(e){
		alert('aa');
		$('#login-submit-form').submit();
	});
});
</script>
</head>
<body>
	<div class="span6">
		<form class="form-horizontal" 
			id="login-submit-form" action="<c:url value="/admin/login/submit"/>" method="post">
			<div class="control-group">
	    		<label class="control-label" for="usrId">Login ID</label>
	    		<div class="controls">
	      			<input type="text" id="usrId" name="usrId" />
	    		</div>
	  		</div>
			<div class="control-group">
				<label class="control-label" for="inputPassword">Password</label>
				<div class="controls">
					<input type="password" id="usrPwd" name="usrPwd" placeholder="Password" />
				</div>
			</div>
			<div class="control-group">
				<div class="controls">
					<label class="checkbox">
	 					<input type="checkbox"> Remember me
					</label>
					<button type="submit" class="btn" id="login-submit-btn">Sign in</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>